package com.restaurant.application.indexes.couponlist.mysql;

import com.google.common.collect.Lists;
import com.nebutown.generation.Convert;
import com.nebutown.generation.PickableBean;
import com.nebutown.generation.basictype.UID;

import java.util.List;

public class CouponListCriteria implements PickableBean {

    public static final String FN_RECORDID = "recordId";
    public static final String FN_COUPONUIDEQUALS = "couponUidEquals";
    public static final String FN_COUPONUIDNOTEQUALS = "couponUidNotEquals";
    public static final String FN_COUPONMANAGEUIDLIKE = "couponManageUidLike";
    public static final String FN_COUPONMANAGEUIDEQUALS = "couponManageUidEquals";
    public static final String FN_COUPONMANAGEUIDNOTEQUALS = "couponManageUidNotEquals";
    public static final String FN_NUMBERLIKE = "numberLike";
    public static final String FN_NUMBEREQUALS = "numberEquals";
    public static final String FN_NUMBERNOTEQUALS = "numberNotEquals";
    public static final String FN_ENDTIMEUPPER = "endTimeUpper";
    public static final String FN_ENDTIMELOWER = "endTimeLower";
    public static final String FN_ENDTIMEEQUALS = "endTimeEquals";
    public static final String FN_ENDTIMENOTEQUALS = "endTimeNotEquals";
    public static final String FN_TYPELIKE = "typeLike";
    public static final String FN_TYPEEQUALS = "typeEquals";
    public static final String FN_TYPENOTEQUALS = "typeNotEquals";
    public static final String FN_MODALITYLIKE = "modalityLike";
    public static final String FN_MODALITYEQUALS = "modalityEquals";
    public static final String FN_MODALITYNOTEQUALS = "modalityNotEquals";
    public static final String FN_FULLMONEYUPPER = "fullMoneyUpper";
    public static final String FN_FULLMONEYLOWER = "fullMoneyLower";
    public static final String FN_MINUSMONEYUPPER = "minusMoneyUpper";
    public static final String FN_MINUSMONEYLOWER = "minusMoneyLower";
    public static final String FN_SHOPUIDLIKE = "shopUidLike";
    public static final String FN_SHOPUIDEQUALS = "shopUidEquals";
    public static final String FN_SHOPUIDNOTEQUALS = "shopUidNotEquals";
    public static final String FN_SHOPNAMELIKE = "shopNameLike";
    public static final String FN_SHOPNAMEEQUALS = "shopNameEquals";
    public static final String FN_SHOPNAMENOTEQUALS = "shopNameNotEquals";
    public static final String FN_REMARKSLIKE = "remarksLike";
    public static final String FN_REMARKSEQUALS = "remarksEquals";
    public static final String FN_REMARKSNOTEQUALS = "remarksNotEquals";
    public static final String FN_STATELIKE = "stateLike";
    public static final String FN_STATEEQUALS = "stateEquals";
    public static final String FN_STATENOTEQUALS = "stateNotEquals";
    public static final String FN_IDLIKE = "idLike";
    public static final String FN_IDEQUALS = "idEquals";
    public static final String FN_IDNOTEQUALS = "idNotEquals";
    public static final String FN_CREATETIMEUPPER = "createTimeUpper";
    public static final String FN_CREATETIMELOWER = "createTimeLower";
    public static final String FN_CREATETIMEEQUALS = "createTimeEquals";
    public static final String FN_CREATETIMENOTEQUALS = "createTimeNotEquals";
    public static final String FN_MODIFYTIMEUPPER = "modifyTimeUpper";
    public static final String FN_MODIFYTIMELOWER = "modifyTimeLower";
    public static final String FN_MODIFYTIMEEQUALS = "modifyTimeEquals";
    public static final String FN_MODIFYTIMENOTEQUALS = "modifyTimeNotEquals";
    public static final String FN_CUSTOMERIDLIKE = "customerIdLike";
    public static final String FN_CUSTOMERIDEQUALS = "customerIdEquals";
    public static final String FN_CUSTOMERIDNOTEQUALS = "customerIdNotEquals";
    public static final String FN_CUSTOMERUIDLIKE = "customerUidLike";
    public static final String FN_CUSTOMERUIDEQUALS = "customerUidEquals";
    public static final String FN_CUSTOMERUIDNOTEQUALS = "customerUidNotEquals";
    public static final String FN_CUSTOMERNAMELIKE = "customerNameLike";
    public static final String FN_CUSTOMERNAMEEQUALS = "customerNameEquals";
    public static final String FN_CUSTOMERNAMENOTEQUALS = "customerNameNotEquals";
    public static final String FN_PHONELIKE = "phoneLike";
    public static final String FN_PHONEEQUALS = "phoneEquals";
    public static final String FN_PHONENOTEQUALS = "phoneNotEquals";
    public static final String FN_QRCODEURLLIKE = "qrCodeUrlLike";
    public static final String FN_QRCODEURLEQUALS = "qrCodeUrlEquals";
    public static final String FN_QRCODEURLNOTEQUALS = "qrCodeUrlNotEquals";
    public static final String FN_QRCODEUIDLIKE = "qrCodeUidLike";
    public static final String FN_QRCODEUIDEQUALS = "qrCodeUidEquals";
    public static final String FN_QRCODEUIDNOTEQUALS = "qrCodeUidNotEquals";
    public static final String FN_COUPONSTATELIKE = "couponStateLike";
    public static final String FN_COUPONSTATEEQUALS = "couponStateEquals";
    public static final String FN_COUPONSTATENOTEQUALS = "couponStateNotEquals";
    public static final String FN_CURRENTCUSTOMERIDLIKE = "currentCustomerIdLike";
    public static final String FN_CURRENTCUSTOMERIDEQUALS = "currentCustomerIdEquals";
    public static final String FN_CURRENTCUSTOMERIDNOTEQUALS = "currentCustomerIdNotEquals";
    public static final String FN_CURRENTCUSTOMERUIDLIKE = "currentCustomerUidLike";
    public static final String FN_CURRENTCUSTOMERUIDEQUALS = "currentCustomerUidEquals";
    public static final String FN_CURRENTCUSTOMERUIDNOTEQUALS = "currentCustomerUidNotEquals";
    public static final String FN_CURRENTCUSTOMERNAMELIKE = "currentCustomerNameLike";
    public static final String FN_CURRENTCUSTOMERNAMEEQUALS = "currentCustomerNameEquals";
    public static final String FN_CURRENTCUSTOMERNAMENOTEQUALS = "currentCustomerNameNotEquals";
    public static final String FN_CURRENTPHONELIKE = "currentPhoneLike";
    public static final String FN_CURRENTPHONEEQUALS = "currentPhoneEquals";
    public static final String FN_CURRENTPHONENOTEQUALS = "currentPhoneNotEquals";
    public static final String FN_USEDCUSTOMERIDLIKE = "usedCustomerIdLike";
    public static final String FN_USEDCUSTOMERIDEQUALS = "usedCustomerIdEquals";
    public static final String FN_USEDCUSTOMERIDNOTEQUALS = "usedCustomerIdNotEquals";
    public static final String FN_USEDCUSTOMERUIDLIKE = "usedCustomerUidLike";
    public static final String FN_USEDCUSTOMERUIDEQUALS = "usedCustomerUidEquals";
    public static final String FN_USEDCUSTOMERUIDNOTEQUALS = "usedCustomerUidNotEquals";
    public static final String FN_USEDCUSTOMERNAMELIKE = "usedCustomerNameLike";
    public static final String FN_USEDCUSTOMERNAMEEQUALS = "usedCustomerNameEquals";
    public static final String FN_USEDCUSTOMERNAMENOTEQUALS = "usedCustomerNameNotEquals";
    public static final String FN_USEDPHONELIKE = "usedPhoneLike";
    public static final String FN_USEDPHONEEQUALS = "usedPhoneEquals";
    public static final String FN_USEDPHONENOTEQUALS = "usedPhoneNotEquals";
    public static final String FN_USEDTIMEUPPER = "usedTimeUpper";
    public static final String FN_USEDTIMELOWER = "usedTimeLower";
    public static final String FN_USEDTIMEEQUALS = "usedTimeEquals";
    public static final String FN_USEDTIMENOTEQUALS = "usedTimeNotEquals";
    public static final String FN_USERIDLIKE = "userIdLike";
    public static final String FN_USERIDEQUALS = "userIdEquals";
    public static final String FN_USERIDNOTEQUALS = "userIdNotEquals";
    public static final String FN_USERUIDLIKE = "userUidLike";
    public static final String FN_USERUIDEQUALS = "userUidEquals";
    public static final String FN_USERUIDNOTEQUALS = "userUidNotEquals";
    public static final String FN_USERNAMELIKE = "userNameLike";
    public static final String FN_USERNAMEEQUALS = "userNameEquals";
    public static final String FN_USERNAMENOTEQUALS = "userNameNotEquals";

    public static final List<String> FIELD_NAMES = Lists.newArrayList(
             FN_RECORDID,
             FN_COUPONUIDEQUALS,
             FN_COUPONUIDNOTEQUALS,
            FN_COUPONMANAGEUIDLIKE,
            FN_COUPONMANAGEUIDEQUALS,
            FN_COUPONMANAGEUIDNOTEQUALS,
             FN_NUMBERLIKE,
             FN_NUMBEREQUALS,
             FN_NUMBERNOTEQUALS,
             FN_ENDTIMEUPPER,
             FN_ENDTIMELOWER,
             FN_ENDTIMEEQUALS,
             FN_ENDTIMENOTEQUALS,
             FN_TYPELIKE,
             FN_TYPEEQUALS,
             FN_TYPENOTEQUALS,
             FN_MODALITYLIKE,
             FN_MODALITYEQUALS,
             FN_MODALITYNOTEQUALS,
             FN_FULLMONEYUPPER,
             FN_FULLMONEYLOWER,
             FN_MINUSMONEYUPPER,
             FN_MINUSMONEYLOWER,
             FN_SHOPUIDLIKE,
             FN_SHOPUIDEQUALS,
             FN_SHOPUIDNOTEQUALS,
             FN_SHOPNAMELIKE,
             FN_SHOPNAMEEQUALS,
             FN_SHOPNAMENOTEQUALS,
             FN_REMARKSLIKE,
             FN_REMARKSEQUALS,
             FN_REMARKSNOTEQUALS,
            FN_STATELIKE,
            FN_STATEEQUALS,
            FN_STATENOTEQUALS,
            FN_IDLIKE,
            FN_IDEQUALS,
            FN_IDNOTEQUALS,
            FN_CREATETIMEUPPER,
            FN_CREATETIMELOWER,
            FN_CREATETIMEEQUALS,
            FN_CREATETIMENOTEQUALS,
            FN_MODIFYTIMEUPPER,
            FN_MODIFYTIMELOWER,
            FN_MODIFYTIMEEQUALS,
            FN_MODIFYTIMENOTEQUALS,
             FN_CUSTOMERIDLIKE,
             FN_CUSTOMERIDEQUALS,
             FN_CUSTOMERIDNOTEQUALS,
             FN_CUSTOMERUIDLIKE,
             FN_CUSTOMERUIDEQUALS,
             FN_CUSTOMERUIDNOTEQUALS,
             FN_CUSTOMERNAMELIKE,
             FN_CUSTOMERNAMEEQUALS,
             FN_CUSTOMERNAMENOTEQUALS,
             FN_PHONELIKE,
             FN_PHONEEQUALS,
             FN_PHONENOTEQUALS,
             FN_QRCODEURLLIKE,
             FN_QRCODEURLEQUALS,
             FN_QRCODEURLNOTEQUALS,
             FN_QRCODEUIDLIKE,
             FN_QRCODEUIDEQUALS,
             FN_QRCODEUIDNOTEQUALS,
             FN_COUPONSTATELIKE,
             FN_COUPONSTATEEQUALS,
             FN_COUPONSTATENOTEQUALS,
            FN_CURRENTCUSTOMERIDLIKE,
            FN_CURRENTCUSTOMERIDEQUALS,
            FN_CURRENTCUSTOMERIDNOTEQUALS,
            FN_CURRENTCUSTOMERUIDLIKE,
            FN_CURRENTCUSTOMERUIDEQUALS,
            FN_CURRENTCUSTOMERUIDNOTEQUALS,
            FN_CURRENTCUSTOMERNAMELIKE,
            FN_CURRENTCUSTOMERNAMEEQUALS,
            FN_CURRENTCUSTOMERNAMENOTEQUALS,
            FN_CURRENTPHONELIKE,
            FN_CURRENTPHONEEQUALS,
            FN_CURRENTPHONENOTEQUALS,
            FN_USEDCUSTOMERIDLIKE,
            FN_USEDCUSTOMERIDEQUALS,
            FN_USEDCUSTOMERIDNOTEQUALS,
            FN_USEDCUSTOMERUIDLIKE,
            FN_USEDCUSTOMERUIDEQUALS,
            FN_USEDCUSTOMERUIDNOTEQUALS,
            FN_USEDCUSTOMERNAMELIKE,
            FN_USEDCUSTOMERNAMEEQUALS,
            FN_USEDCUSTOMERNAMENOTEQUALS,
            FN_USEDPHONELIKE,
            FN_USEDPHONEEQUALS,
            FN_USEDPHONENOTEQUALS,
             FN_USEDTIMEUPPER,
             FN_USEDTIMELOWER,
             FN_USEDTIMEEQUALS,
            FN_USEDTIMENOTEQUALS,
            FN_USERIDLIKE,
            FN_USERIDEQUALS,
            FN_USERIDNOTEQUALS,
            FN_USERUIDLIKE,
            FN_USERUIDEQUALS,
            FN_USERUIDNOTEQUALS,
            FN_USERNAMELIKE,
            FN_USERNAMEEQUALS,
            FN_USERNAMENOTEQUALS);

    private Long recordId;
    private UID couponUidEquals;
    private UID couponUidNotEquals;
    private String couponManageUidLike;
    private String couponManageUidEquals;
    private String couponManageUidNotEquals;
    private String numberLike;
    private String numberEquals;
    private String numberNotEquals;
    private Long endTimeUpper;
    private Long endTimeLower;
    private Long endTimeEquals;
    private Long endTimeNotEquals;
    private String typeLike;
    private String typeEquals;
    private String typeNotEquals;
    private String modalityLike;
    private String modalityEquals;
    private String modalityNotEquals;
    private Double fullMoneyUpper;
    private Double fullMoneyLower;
    private Double minusMoneyUpper;
    private Double minusMoneyLower;
    private String shopUidLike;
    private String shopUidEquals;
    private String shopUidNotEquals;
    private String shopNameLike;
    private String shopNameEquals;
    private String shopNameNotEquals;
    private String remarksLike;
    private String remarksEquals;
    private String remarksNotEquals;
    private String stateLike;
    private String stateEquals;
    private String stateNotEquals;
    private String idLike;
    private String idEquals;
    private String idNotEquals;
    private Long createTimeUpper;
    private Long createTimeLower;
    private Long createTimeEquals;
    private Long createTimeNotEquals;
    private Long modifyTimeUpper;
    private Long modifyTimeLower;
    private Long modifyTimeEquals;
    private Long modifyTimeNotEquals;
    private String customerIdLike;
    private String customerIdEquals;
    private String customerIdNotEquals;
    private String customerUidLike;
    private String customerUidEquals;
    private String customerUidNotEquals;
    private String customerNameLike;
    private String customerNameEquals;
    private String customerNameNotEquals;
    private String phoneLike;
    private String phoneEquals;
    private String phoneNotEquals;
    private String qrCodeUrlLike;
    private String qrCodeUrlEquals;
    private String qrCodeUrlNotEquals;
    private String qrCodeUidLike;
    private String qrCodeUidEquals;
    private String qrCodeUidNotEquals;
    private String couponStateLike;
    private String couponStateEquals;
    private String couponStateNotEquals;
    private String currentCustomerIdLike;
    private String currentCustomerIdEquals;
    private String currentCustomerIdNotEquals;
    private String currentCustomerUidLike;
    private String currentCustomerUidEquals;
    private String currentCustomerUidNotEquals;
    private String currentCustomerNameLike;
    private String currentCustomerNameEquals;
    private String currentCustomerNameNotEquals;
    private String currentPhoneLike;
    private String currentPhoneEquals;
    private String currentPhoneNotEquals;
    private String usedCustomerIdLike;
    private String usedCustomerIdEquals;
    private String usedCustomerIdNotEquals;
    private String usedCustomerUidLike;
    private String usedCustomerUidEquals;
    private String usedCustomerUidNotEquals;
    private String usedCustomerNameLike;
    private String usedCustomerNameEquals;
    private String usedCustomerNameNotEquals;
    private String usedPhoneLike;
    private String usedPhoneEquals;
    private String usedPhoneNotEquals;
    private Long usedTimeUpper;
    private Long usedTimeLower;
    private Long usedTimeEquals;
    private Long usedTimeNotEquals;
    private String userIdLike;
    private String userIdEquals;
    private String userIdNotEquals;
    private String userUidLike;
    private String userUidEquals;
    private String userUidNotEquals;
    private String userNameLike;
    private String userNameEquals;
    private String userNameNotEquals;

    public CouponListCriteria(Long recordId, UID couponUidEquals, UID couponUidNotEquals, String couponManageUidLike, String couponManageUidEquals, String couponManageUidNotEquals, String numberLike, String numberEquals, String numberNotEquals, Long endTimeUpper, Long endTimeLower, Long endTimeEquals, Long endTimeNotEquals, String typeLike, String typeEquals, String typeNotEquals, String modalityLike, String modalityEquals, String modalityNotEquals, Double fullMoneyUpper, Double fullMoneyLower, Double minusMoneyUpper, Double minusMoneyLower, String shopUidLike, String shopUidEquals, String shopUidNotEquals, String shopNameLike, String shopNameEquals, String shopNameNotEquals, String remarksLike, String remarksEquals, String remarksNotEquals, String stateLike, String stateEquals, String stateNotEquals, String idLike, String idEquals, String idNotEquals, Long createTimeUpper, Long createTimeLower, Long createTimeEquals, Long createTimeNotEquals, Long modifyTimeUpper, Long modifyTimeLower, Long modifyTimeEquals, Long modifyTimeNotEquals, String customerIdLike, String customerIdEquals, String customerIdNotEquals, String customerUidLike, String customerUidEquals, String customerUidNotEquals, String customerNameLike, String customerNameEquals, String customerNameNotEquals, String phoneLike, String phoneEquals, String phoneNotEquals, String qrCodeUrlLike, String qrCodeUrlEquals, String qrCodeUrlNotEquals, String qrCodeUidLike, String qrCodeUidEquals, String qrCodeUidNotEquals, String couponStateLike, String couponStateEquals, String couponStateNotEquals, String currentCustomerIdLike, String currentCustomerIdEquals, String currentCustomerIdNotEquals, String currentCustomerUidLike, String currentCustomerUidEquals, String currentCustomerUidNotEquals, String currentCustomerNameLike, String currentCustomerNameEquals, String currentCustomerNameNotEquals, String currentPhoneLike, String currentPhoneEquals, String currentPhoneNotEquals, String usedCustomerIdLike, String usedCustomerIdEquals, String usedCustomerIdNotEquals, String usedCustomerUidLike, String usedCustomerUidEquals, String usedCustomerUidNotEquals, String usedCustomerNameLike, String usedCustomerNameEquals, String usedCustomerNameNotEquals, String usedPhoneLike, String usedPhoneEquals, String usedPhoneNotEquals, Long usedTimeUpper, Long usedTimeLower, Long usedTimeEquals, Long usedTimeNotEquals, String userIdLike, String userIdEquals, String userIdNotEquals, String userUidLike, String userUidEquals, String userUidNotEquals, String userNameLike, String userNameEquals, String userNameNotEquals) {
        setRecordId(recordId);
        setCouponUidEquals(couponUidEquals);
        setCouponUidNotEquals(couponUidNotEquals);
        setCouponManageUidLike(couponManageUidLike);
        setCouponManageUidEquals(couponManageUidEquals);
        setCouponManageUidNotEquals(couponManageUidNotEquals);
        setNumberLike(numberLike);
        setNumberEquals(numberEquals);
        setNumberNotEquals(numberNotEquals);
        setEndTimeUpper(endTimeUpper);
        setEndTimeLower(endTimeLower);
        setEndTimeEquals(endTimeEquals);
        setEndTimeNotEquals(endTimeNotEquals);
        setTypeLike(typeLike);
        setTypeEquals(typeEquals);
        setTypeNotEquals(typeNotEquals);
        setModalityLike(modalityLike);
        setModalityEquals(modalityEquals);
        setModalityNotEquals(modalityNotEquals);
        setFullMoneyUpper(fullMoneyUpper);
        setFullMoneyLower(fullMoneyLower);
        setMinusMoneyUpper(minusMoneyUpper);
        setMinusMoneyLower(minusMoneyLower);
        setShopUidLike(shopUidLike);
        setShopUidEquals(shopUidEquals);
        setShopUidNotEquals(shopUidNotEquals);
        setShopNameLike(shopNameLike);
        setShopNameEquals(shopNameEquals);
        setShopNameNotEquals(shopNameNotEquals);
        setRemarksLike(remarksLike);
        setRemarksEquals(remarksEquals);
        setRemarksNotEquals(remarksNotEquals);
        setStateLike(stateLike);
        setStateEquals(stateEquals);
        setStateNotEquals(stateNotEquals);
        setIdLike(idLike);
        setIdEquals(idEquals);
        setIdNotEquals(idNotEquals);
        setCreateTimeUpper(createTimeUpper);
        setCreateTimeLower(createTimeLower);
        setCreateTimeEquals(createTimeEquals);
        setCreateTimeNotEquals(createTimeNotEquals);
        setModifyTimeUpper(modifyTimeUpper);
        setModifyTimeLower(modifyTimeLower);
        setModifyTimeEquals(modifyTimeEquals);
        setModifyTimeNotEquals(modifyTimeNotEquals);
        setCustomerIdLike(customerIdLike);
        setCustomerIdEquals(customerIdEquals);
        setCustomerIdNotEquals(customerIdNotEquals);
        setCustomerUidLike(customerUidLike);
        setCustomerUidEquals(customerUidEquals);
        setCustomerUidNotEquals(customerUidNotEquals);
        setCustomerNameLike(customerNameLike);
        setCustomerNameEquals(customerNameEquals);
        setCustomerNameNotEquals(customerNameNotEquals);
        setPhoneLike(phoneLike);
        setPhoneEquals(phoneEquals);
        setPhoneNotEquals(phoneNotEquals);
        setQrCodeUrlLike(qrCodeUrlLike);
        setQrCodeUrlEquals(qrCodeUrlEquals);
        setQrCodeUrlNotEquals(qrCodeUrlNotEquals);
        setQrCodeUidLike(qrCodeUidLike);
        setQrCodeUidEquals(qrCodeUidEquals);
        setQrCodeUidNotEquals(qrCodeUidNotEquals);
        setCouponStateLike(couponStateLike);
        setCouponStateEquals(couponStateEquals);
        setCouponStateNotEquals(couponStateNotEquals);
        setCurrentCustomerIdLike(currentCustomerIdLike);
        setCurrentCustomerIdEquals(currentCustomerIdEquals);
        setCurrentCustomerIdNotEquals(currentCustomerIdNotEquals);
        setCurrentCustomerUidLike(currentCustomerUidLike);
        setCurrentCustomerUidEquals(currentCustomerUidEquals);
        setCurrentCustomerUidNotEquals(currentCustomerUidNotEquals);
        setCurrentCustomerNameLike(currentCustomerNameLike);
        setCurrentCustomerNameEquals(currentCustomerNameEquals);
        setCurrentCustomerNameNotEquals(currentCustomerNameNotEquals);
        setCurrentPhoneLike(currentPhoneLike);
        setCurrentPhoneEquals(currentPhoneEquals);
        setCurrentPhoneNotEquals(currentPhoneNotEquals);
        setUsedCustomerIdLike(usedCustomerIdLike);
        setUsedCustomerIdEquals(usedCustomerIdEquals);
        setUsedCustomerIdNotEquals(usedCustomerIdNotEquals);
        setUsedCustomerUidLike(usedCustomerUidLike);
        setUsedCustomerUidEquals(usedCustomerUidEquals);
        setUsedCustomerUidNotEquals(usedCustomerUidNotEquals);
        setUsedCustomerNameLike(usedCustomerNameLike);
        setUsedCustomerNameEquals(usedCustomerNameEquals);
        setUsedCustomerNameNotEquals(usedCustomerNameNotEquals);
        setUsedPhoneLike(usedPhoneLike);
        setUsedPhoneEquals(usedPhoneEquals);
        setUsedPhoneNotEquals(usedPhoneNotEquals);
        setUsedTimeUpper(usedTimeUpper);
        setUsedTimeLower(usedTimeLower);
        setUsedTimeEquals(usedTimeEquals);
        setUsedTimeNotEquals(usedTimeNotEquals);
        setUserIdLike(userIdLike);
        setUserIdEquals(userIdEquals);
        setUserIdNotEquals(userIdNotEquals);
        setUserUidLike(userUidLike);
        setUserUidEquals(userUidEquals);
        setUserUidNotEquals(userUidNotEquals);
        setUserNameLike(userNameLike);
        setUserNameEquals(userNameEquals);
        setUserNameNotEquals(userNameNotEquals);
    }

    public CouponListCriteria() {
    }

    public CouponListCriteria duplicate() {
        CouponListCriteria result = new CouponListCriteria();
        result.recordId = this.recordId;
        result.couponUidEquals = this.couponUidEquals;
        result.couponUidNotEquals = this.couponUidNotEquals;
        result.couponManageUidLike = this.couponManageUidLike;
        result.couponManageUidEquals = this.couponManageUidEquals;
        result.couponManageUidNotEquals = this.couponManageUidNotEquals;
        result.numberLike = this.numberLike;
        result.numberEquals = this.numberEquals;
        result.numberNotEquals = this.numberNotEquals;
        result.endTimeUpper = this.endTimeUpper;
        result.endTimeLower = this.endTimeLower;
        result.endTimeEquals = this.endTimeEquals;
        result.endTimeNotEquals = this.endTimeNotEquals;
        result.typeLike = this.typeLike;
        result.typeEquals = this.typeEquals;
        result.typeNotEquals = this.typeNotEquals;
        result.modalityLike = this.modalityLike;
        result.modalityEquals = this.modalityEquals;
        result.modalityNotEquals = this.modalityNotEquals;
        result.fullMoneyUpper = this.fullMoneyUpper;
        result.fullMoneyLower = this.fullMoneyLower;
        result.minusMoneyUpper = this.minusMoneyUpper;
        result.minusMoneyLower = this.minusMoneyLower;
        result.shopUidLike = this.shopUidLike;
        result.shopUidEquals = this.shopUidEquals;
        result.shopUidNotEquals = this.shopUidNotEquals;
        result.shopNameLike = this.shopNameLike;
        result.shopNameEquals = this.shopNameEquals;
        result.shopNameNotEquals = this.shopNameNotEquals;
        result.remarksLike = this.remarksLike;
        result.remarksEquals = this.remarksEquals;
        result.remarksNotEquals = this.remarksNotEquals;
        result.stateLike = this.stateLike;
        result.stateEquals = this.stateEquals;
        result.stateNotEquals = this.stateNotEquals;
        result.idLike = this.idLike;
        result.idEquals = this.idEquals;
        result.idNotEquals = this.idNotEquals;
        result.createTimeUpper = this.createTimeUpper;
        result.createTimeLower = this.createTimeLower;
        result.createTimeEquals = this.createTimeEquals;
        result.createTimeNotEquals = this.createTimeNotEquals;
        result.modifyTimeUpper = this.modifyTimeUpper;
        result.modifyTimeLower = this.modifyTimeLower;
        result.modifyTimeEquals = this.modifyTimeEquals;
        result.modifyTimeNotEquals = this.modifyTimeNotEquals;
        result.customerIdLike = this.customerIdLike;
        result.customerIdEquals = this.customerIdEquals;
        result.customerIdNotEquals = this.customerIdNotEquals;
        result.customerUidLike = this.customerUidLike;
        result.customerUidEquals = this.customerUidEquals;
        result.customerUidNotEquals = this.customerUidNotEquals;
        result.customerNameLike = this.customerNameLike;
        result.customerNameEquals = this.customerNameEquals;
        result.customerNameNotEquals = this.customerNameNotEquals;
        result.phoneLike = this.phoneLike;
        result.phoneEquals = this.phoneEquals;
        result.phoneNotEquals = this.phoneNotEquals;
        result.qrCodeUrlLike = this.qrCodeUrlLike;
        result.qrCodeUrlEquals = this.qrCodeUrlEquals;
        result.qrCodeUrlNotEquals = this.qrCodeUrlNotEquals;
        result.qrCodeUidLike = this.qrCodeUidLike;
        result.qrCodeUidEquals = this.qrCodeUidEquals;
        result.qrCodeUidNotEquals = this.qrCodeUidNotEquals;
        result.couponStateLike = this.couponStateLike;
        result.couponStateEquals = this.couponStateEquals;
        result.couponStateNotEquals = this.couponStateNotEquals;
        result.currentCustomerIdLike = this.currentCustomerIdLike;
        result.currentCustomerIdEquals = this.currentCustomerIdEquals;
        result.currentCustomerIdNotEquals = this.currentCustomerIdNotEquals;
        result.currentCustomerUidLike = this.currentCustomerUidLike;
        result.currentCustomerUidEquals = this.currentCustomerUidEquals;
        result.currentCustomerUidNotEquals = this.currentCustomerUidNotEquals;
        result.currentCustomerNameLike = this.currentCustomerNameLike;
        result.currentCustomerNameEquals = this.currentCustomerNameEquals;
        result.currentCustomerNameNotEquals = this.currentCustomerNameNotEquals;
        result.currentPhoneLike = this.currentPhoneLike;
        result.currentPhoneEquals = this.currentPhoneEquals;
        result.currentPhoneNotEquals = this.currentPhoneNotEquals;
        result.usedCustomerIdLike = this.usedCustomerIdLike;
        result.usedCustomerIdEquals = this.usedCustomerIdEquals;
        result.usedCustomerIdNotEquals = this.usedCustomerIdNotEquals;
        result.usedCustomerUidLike = this.usedCustomerUidLike;
        result.usedCustomerUidEquals = this.usedCustomerUidEquals;
        result.usedCustomerUidNotEquals = this.usedCustomerUidNotEquals;
        result.usedCustomerNameLike = this.usedCustomerNameLike;
        result.usedCustomerNameEquals = this.usedCustomerNameEquals;
        result.usedCustomerNameNotEquals = this.usedCustomerNameNotEquals;
        result.usedPhoneLike = this.usedPhoneLike;
        result.usedPhoneEquals = this.usedPhoneEquals;
        result.usedPhoneNotEquals = this.usedPhoneNotEquals;
        result.usedTimeUpper = this.usedTimeUpper;
        result.usedTimeLower = this.usedTimeLower;
        result.usedTimeEquals = this.usedTimeEquals;
        result.usedTimeNotEquals = this.usedTimeNotEquals;
        result.userIdLike = this.userIdLike;
        result.userIdEquals = this.userIdEquals;
        result.userIdNotEquals = this.userIdNotEquals;
        result.userUidLike = this.userUidLike;
        result.userUidEquals = this.userUidEquals;
        result.userUidNotEquals = this.userUidNotEquals;
        result.userNameLike = this.userNameLike;
        result.userNameEquals = this.userNameEquals;
        result.userNameNotEquals = this.userNameNotEquals;
        return result;
    }

    @Override
    public String toString() {
        return Convert.toJson(this);
    }

    public Long getRecordId() {
        return recordId;
    }

    public void  setRecordId(Long value) {
        this.recordId = value;
    }

    public CouponListCriteria withRecordId(Long value) {
        setRecordId(value);
        return this;
    }

    public CouponListCriteria withRecordId(Long value, Long defaultValue) {
        setRecordId(value == null ? defaultValue : value);
        return this;
    }

    public UID getCouponUidEquals() {
        return couponUidEquals;
    }

    public void  setCouponUidEquals(UID value) {
        this.couponUidEquals = value;
    }

    public CouponListCriteria withCouponUidEquals(UID value) {
        setCouponUidEquals(value);
        return this;
    }

    public CouponListCriteria withCouponUidEquals(UID value, UID defaultValue) {
        setCouponUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public UID getCouponUidNotEquals() {
        return couponUidNotEquals;
    }

    public void  setCouponUidNotEquals(UID value) {
        this.couponUidNotEquals = value;
    }

    public CouponListCriteria withCouponUidNotEquals(UID value) {
        setCouponUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withCouponUidNotEquals(UID value, UID defaultValue) {
        setCouponUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponManageUidLike() {
        return couponManageUidLike;
    }

    public void setCouponManageUidLike(String value) {
        this.couponManageUidLike = value;
    }

    public CouponListCriteria withCouponManageUidLike(String value) {
        setCouponManageUidLike(value);
        return this;
    }

    public CouponListCriteria withCouponManageUidLike(String value, String defaultValue) {
        setCouponManageUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponManageUidEquals() {
        return couponManageUidEquals;
    }

    public void setCouponManageUidEquals(String value) {
        this.couponManageUidEquals = value;
    }

    public CouponListCriteria withCouponManageUidEquals(String value) {
        setCouponManageUidEquals(value);
        return this;
    }

    public CouponListCriteria withCouponManageUidEquals(String value, String defaultValue) {
        setCouponManageUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponManageUidNotEquals() {
        return couponManageUidNotEquals;
    }

    public void setCouponManageUidNotEquals(String value) {
        this.couponManageUidNotEquals = value;
    }

    public CouponListCriteria withCouponManageUidNotEquals(String value) {
        setCouponManageUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withCouponManageUidNotEquals(String value, String defaultValue) {
        setCouponManageUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getNumberLike() {
        return numberLike;
    }

    public void  setNumberLike(String value) {
        this.numberLike = value;
    }

    public CouponListCriteria withNumberLike(String value) {
        setNumberLike(value);
        return this;
    }

    public CouponListCriteria withNumberLike(String value, String defaultValue) {
        setNumberLike(value == null ? defaultValue : value);
        return this;
    }

    public String getNumberEquals() {
        return numberEquals;
    }

    public void  setNumberEquals(String value) {
        this.numberEquals = value;
    }

    public CouponListCriteria withNumberEquals(String value) {
        setNumberEquals(value);
        return this;
    }

    public CouponListCriteria withNumberEquals(String value, String defaultValue) {
        setNumberEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getNumberNotEquals() {
        return numberNotEquals;
    }

    public void  setNumberNotEquals(String value) {
        this.numberNotEquals = value;
    }

    public CouponListCriteria withNumberNotEquals(String value) {
        setNumberNotEquals(value);
        return this;
    }

    public CouponListCriteria withNumberNotEquals(String value, String defaultValue) {
        setNumberNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTimeUpper() {
        return endTimeUpper;
    }

    public void  setEndTimeUpper(Long value) {
        this.endTimeUpper = value;
    }

    public CouponListCriteria withEndTimeUpper(Long value) {
        setEndTimeUpper(value);
        return this;
    }

    public CouponListCriteria withEndTimeUpper(Long value, Long defaultValue) {
        setEndTimeUpper(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTimeLower() {
        return endTimeLower;
    }

    public void  setEndTimeLower(Long value) {
        this.endTimeLower = value;
    }

    public CouponListCriteria withEndTimeLower(Long value) {
        setEndTimeLower(value);
        return this;
    }

    public CouponListCriteria withEndTimeLower(Long value, Long defaultValue) {
        setEndTimeLower(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTimeEquals() {
        return endTimeEquals;
    }

    public void  setEndTimeEquals(Long value) {
        this.endTimeEquals = value;
    }

    public CouponListCriteria withEndTimeEquals(Long value) {
        setEndTimeEquals(value);
        return this;
    }

    public CouponListCriteria withEndTimeEquals(Long value, Long defaultValue) {
        setEndTimeEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getEndTimeNotEquals() {
        return endTimeNotEquals;
    }

    public void  setEndTimeNotEquals(Long value) {
        this.endTimeNotEquals = value;
    }

    public CouponListCriteria withEndTimeNotEquals(Long value) {
        setEndTimeNotEquals(value);
        return this;
    }

    public CouponListCriteria withEndTimeNotEquals(Long value, Long defaultValue) {
        setEndTimeNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getTypeLike() {
        return typeLike;
    }

    public void  setTypeLike(String value) {
        this.typeLike = value;
    }

    public CouponListCriteria withTypeLike(String value) {
        setTypeLike(value);
        return this;
    }

    public CouponListCriteria withTypeLike(String value, String defaultValue) {
        setTypeLike(value == null ? defaultValue : value);
        return this;
    }

    public String getTypeEquals() {
        return typeEquals;
    }

    public void  setTypeEquals(String value) {
        this.typeEquals = value;
    }

    public CouponListCriteria withTypeEquals(String value) {
        setTypeEquals(value);
        return this;
    }

    public CouponListCriteria withTypeEquals(String value, String defaultValue) {
        setTypeEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getTypeNotEquals() {
        return typeNotEquals;
    }

    public void  setTypeNotEquals(String value) {
        this.typeNotEquals = value;
    }

    public CouponListCriteria withTypeNotEquals(String value) {
        setTypeNotEquals(value);
        return this;
    }

    public CouponListCriteria withTypeNotEquals(String value, String defaultValue) {
        setTypeNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getModalityLike() {
        return modalityLike;
    }

    public void  setModalityLike(String value) {
        this.modalityLike = value;
    }

    public CouponListCriteria withModalityLike(String value) {
        setModalityLike(value);
        return this;
    }

    public CouponListCriteria withModalityLike(String value, String defaultValue) {
        setModalityLike(value == null ? defaultValue : value);
        return this;
    }

    public String getModalityEquals() {
        return modalityEquals;
    }

    public void  setModalityEquals(String value) {
        this.modalityEquals = value;
    }

    public CouponListCriteria withModalityEquals(String value) {
        setModalityEquals(value);
        return this;
    }

    public CouponListCriteria withModalityEquals(String value, String defaultValue) {
        setModalityEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getModalityNotEquals() {
        return modalityNotEquals;
    }

    public void  setModalityNotEquals(String value) {
        this.modalityNotEquals = value;
    }

    public CouponListCriteria withModalityNotEquals(String value) {
        setModalityNotEquals(value);
        return this;
    }

    public CouponListCriteria withModalityNotEquals(String value, String defaultValue) {
        setModalityNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Double getFullMoneyUpper() {
        return fullMoneyUpper;
    }

    public void  setFullMoneyUpper(Double value) {
        this.fullMoneyUpper = value;
    }

    public CouponListCriteria withFullMoneyUpper(Double value) {
        setFullMoneyUpper(value);
        return this;
    }

    public CouponListCriteria withFullMoneyUpper(Double value, Double defaultValue) {
        setFullMoneyUpper(value == null ? defaultValue : value);
        return this;
    }

    public Double getFullMoneyLower() {
        return fullMoneyLower;
    }

    public void  setFullMoneyLower(Double value) {
        this.fullMoneyLower = value;
    }

    public CouponListCriteria withFullMoneyLower(Double value) {
        setFullMoneyLower(value);
        return this;
    }

    public CouponListCriteria withFullMoneyLower(Double value, Double defaultValue) {
        setFullMoneyLower(value == null ? defaultValue : value);
        return this;
    }

    public Double getMinusMoneyUpper() {
        return minusMoneyUpper;
    }

    public void  setMinusMoneyUpper(Double value) {
        this.minusMoneyUpper = value;
    }

    public CouponListCriteria withMinusMoneyUpper(Double value) {
        setMinusMoneyUpper(value);
        return this;
    }

    public CouponListCriteria withMinusMoneyUpper(Double value, Double defaultValue) {
        setMinusMoneyUpper(value == null ? defaultValue : value);
        return this;
    }

    public Double getMinusMoneyLower() {
        return minusMoneyLower;
    }

    public void  setMinusMoneyLower(Double value) {
        this.minusMoneyLower = value;
    }

    public CouponListCriteria withMinusMoneyLower(Double value) {
        setMinusMoneyLower(value);
        return this;
    }

    public CouponListCriteria withMinusMoneyLower(Double value, Double defaultValue) {
        setMinusMoneyLower(value == null ? defaultValue : value);
        return this;
    }

    public String getShopUidLike() {
        return shopUidLike;
    }

    public void  setShopUidLike(String value) {
        this.shopUidLike = value;
    }

    public CouponListCriteria withShopUidLike(String value) {
        setShopUidLike(value);
        return this;
    }

    public CouponListCriteria withShopUidLike(String value, String defaultValue) {
        setShopUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getShopUidEquals() {
        return shopUidEquals;
    }

    public void  setShopUidEquals(String value) {
        this.shopUidEquals = value;
    }

    public CouponListCriteria withShopUidEquals(String value) {
        setShopUidEquals(value);
        return this;
    }

    public CouponListCriteria withShopUidEquals(String value, String defaultValue) {
        setShopUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getShopUidNotEquals() {
        return shopUidNotEquals;
    }

    public void  setShopUidNotEquals(String value) {
        this.shopUidNotEquals = value;
    }

    public CouponListCriteria withShopUidNotEquals(String value) {
        setShopUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withShopUidNotEquals(String value, String defaultValue) {
        setShopUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getShopNameLike() {
        return shopNameLike;
    }

    public void  setShopNameLike(String value) {
        this.shopNameLike = value;
    }

    public CouponListCriteria withShopNameLike(String value) {
        setShopNameLike(value);
        return this;
    }

    public CouponListCriteria withShopNameLike(String value, String defaultValue) {
        setShopNameLike(value == null ? defaultValue : value);
        return this;
    }

    public String getShopNameEquals() {
        return shopNameEquals;
    }

    public void  setShopNameEquals(String value) {
        this.shopNameEquals = value;
    }

    public CouponListCriteria withShopNameEquals(String value) {
        setShopNameEquals(value);
        return this;
    }

    public CouponListCriteria withShopNameEquals(String value, String defaultValue) {
        setShopNameEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getShopNameNotEquals() {
        return shopNameNotEquals;
    }

    public void  setShopNameNotEquals(String value) {
        this.shopNameNotEquals = value;
    }

    public CouponListCriteria withShopNameNotEquals(String value) {
        setShopNameNotEquals(value);
        return this;
    }

    public CouponListCriteria withShopNameNotEquals(String value, String defaultValue) {
        setShopNameNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getRemarksLike() {
        return remarksLike;
    }

    public void  setRemarksLike(String value) {
        this.remarksLike = value;
    }

    public CouponListCriteria withRemarksLike(String value) {
        setRemarksLike(value);
        return this;
    }

    public CouponListCriteria withRemarksLike(String value, String defaultValue) {
        setRemarksLike(value == null ? defaultValue : value);
        return this;
    }

    public String getRemarksEquals() {
        return remarksEquals;
    }

    public void  setRemarksEquals(String value) {
        this.remarksEquals = value;
    }

    public CouponListCriteria withRemarksEquals(String value) {
        setRemarksEquals(value);
        return this;
    }

    public CouponListCriteria withRemarksEquals(String value, String defaultValue) {
        setRemarksEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getRemarksNotEquals() {
        return remarksNotEquals;
    }

    public void  setRemarksNotEquals(String value) {
        this.remarksNotEquals = value;
    }

    public CouponListCriteria withRemarksNotEquals(String value) {
        setRemarksNotEquals(value);
        return this;
    }

    public CouponListCriteria withRemarksNotEquals(String value, String defaultValue) {
        setRemarksNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getStateLike() {
        return stateLike;
    }

    public void setStateLike(String value) {
        this.stateLike = value;
    }

    public CouponListCriteria withStateLike(String value) {
        setStateLike(value);
        return this;
    }

    public CouponListCriteria withStateLike(String value, String defaultValue) {
        setStateLike(value == null ? defaultValue : value);
        return this;
    }

    public String getStateEquals() {
        return stateEquals;
    }

    public void setStateEquals(String value) {
        this.stateEquals = value;
    }

    public CouponListCriteria withStateEquals(String value) {
        setStateEquals(value);
        return this;
    }

    public CouponListCriteria withStateEquals(String value, String defaultValue) {
        setStateEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getStateNotEquals() {
        return stateNotEquals;
    }

    public void setStateNotEquals(String value) {
        this.stateNotEquals = value;
    }

    public CouponListCriteria withStateNotEquals(String value) {
        setStateNotEquals(value);
        return this;
    }

    public CouponListCriteria withStateNotEquals(String value, String defaultValue) {
        setStateNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getIdLike() {
        return idLike;
    }

    public void setIdLike(String value) {
        this.idLike = value;
    }

    public CouponListCriteria withIdLike(String value) {
        setIdLike(value);
        return this;
    }

    public CouponListCriteria withIdLike(String value, String defaultValue) {
        setIdLike(value == null ? defaultValue : value);
        return this;
    }

    public String getIdEquals() {
        return idEquals;
    }

    public void setIdEquals(String value) {
        this.idEquals = value;
    }

    public CouponListCriteria withIdEquals(String value) {
        setIdEquals(value);
        return this;
    }

    public CouponListCriteria withIdEquals(String value, String defaultValue) {
        setIdEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getIdNotEquals() {
        return idNotEquals;
    }

    public void setIdNotEquals(String value) {
        this.idNotEquals = value;
    }

    public CouponListCriteria withIdNotEquals(String value) {
        setIdNotEquals(value);
        return this;
    }

    public CouponListCriteria withIdNotEquals(String value, String defaultValue) {
        setIdNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTimeUpper() {
        return createTimeUpper;
    }

    public void setCreateTimeUpper(Long value) {
        this.createTimeUpper = value;
    }

    public CouponListCriteria withCreateTimeUpper(Long value) {
        setCreateTimeUpper(value);
        return this;
    }

    public CouponListCriteria withCreateTimeUpper(Long value, Long defaultValue) {
        setCreateTimeUpper(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTimeLower() {
        return createTimeLower;
    }

    public void setCreateTimeLower(Long value) {
        this.createTimeLower = value;
    }

    public CouponListCriteria withCreateTimeLower(Long value) {
        setCreateTimeLower(value);
        return this;
    }

    public CouponListCriteria withCreateTimeLower(Long value, Long defaultValue) {
        setCreateTimeLower(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTimeEquals() {
        return createTimeEquals;
    }

    public void setCreateTimeEquals(Long value) {
        this.createTimeEquals = value;
    }

    public CouponListCriteria withCreateTimeEquals(Long value) {
        setCreateTimeEquals(value);
        return this;
    }

    public CouponListCriteria withCreateTimeEquals(Long value, Long defaultValue) {
        setCreateTimeEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getCreateTimeNotEquals() {
        return createTimeNotEquals;
    }

    public void setCreateTimeNotEquals(Long value) {
        this.createTimeNotEquals = value;
    }

    public CouponListCriteria withCreateTimeNotEquals(Long value) {
        setCreateTimeNotEquals(value);
        return this;
    }

    public CouponListCriteria withCreateTimeNotEquals(Long value, Long defaultValue) {
        setCreateTimeNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTimeUpper() {
        return modifyTimeUpper;
    }

    public void setModifyTimeUpper(Long value) {
        this.modifyTimeUpper = value;
    }

    public CouponListCriteria withModifyTimeUpper(Long value) {
        setModifyTimeUpper(value);
        return this;
    }

    public CouponListCriteria withModifyTimeUpper(Long value, Long defaultValue) {
        setModifyTimeUpper(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTimeLower() {
        return modifyTimeLower;
    }

    public void setModifyTimeLower(Long value) {
        this.modifyTimeLower = value;
    }

    public CouponListCriteria withModifyTimeLower(Long value) {
        setModifyTimeLower(value);
        return this;
    }

    public CouponListCriteria withModifyTimeLower(Long value, Long defaultValue) {
        setModifyTimeLower(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTimeEquals() {
        return modifyTimeEquals;
    }

    public void setModifyTimeEquals(Long value) {
        this.modifyTimeEquals = value;
    }

    public CouponListCriteria withModifyTimeEquals(Long value) {
        setModifyTimeEquals(value);
        return this;
    }

    public CouponListCriteria withModifyTimeEquals(Long value, Long defaultValue) {
        setModifyTimeEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getModifyTimeNotEquals() {
        return modifyTimeNotEquals;
    }

    public void setModifyTimeNotEquals(Long value) {
        this.modifyTimeNotEquals = value;
    }

    public CouponListCriteria withModifyTimeNotEquals(Long value) {
        setModifyTimeNotEquals(value);
        return this;
    }

    public CouponListCriteria withModifyTimeNotEquals(Long value, Long defaultValue) {
        setModifyTimeNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerIdLike() {
        return customerIdLike;
    }

    public void  setCustomerIdLike(String value) {
        this.customerIdLike = value;
    }

    public CouponListCriteria withCustomerIdLike(String value) {
        setCustomerIdLike(value);
        return this;
    }

    public CouponListCriteria withCustomerIdLike(String value, String defaultValue) {
        setCustomerIdLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerIdEquals() {
        return customerIdEquals;
    }

    public void  setCustomerIdEquals(String value) {
        this.customerIdEquals = value;
    }

    public CouponListCriteria withCustomerIdEquals(String value) {
        setCustomerIdEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerIdEquals(String value, String defaultValue) {
        setCustomerIdEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerIdNotEquals() {
        return customerIdNotEquals;
    }

    public void  setCustomerIdNotEquals(String value) {
        this.customerIdNotEquals = value;
    }

    public CouponListCriteria withCustomerIdNotEquals(String value) {
        setCustomerIdNotEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerIdNotEquals(String value, String defaultValue) {
        setCustomerIdNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerUidLike() {
        return customerUidLike;
    }

    public void  setCustomerUidLike(String value) {
        this.customerUidLike = value;
    }

    public CouponListCriteria withCustomerUidLike(String value) {
        setCustomerUidLike(value);
        return this;
    }

    public CouponListCriteria withCustomerUidLike(String value, String defaultValue) {
        setCustomerUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerUidEquals() {
        return customerUidEquals;
    }

    public void  setCustomerUidEquals(String value) {
        this.customerUidEquals = value;
    }

    public CouponListCriteria withCustomerUidEquals(String value) {
        setCustomerUidEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerUidEquals(String value, String defaultValue) {
        setCustomerUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerUidNotEquals() {
        return customerUidNotEquals;
    }

    public void  setCustomerUidNotEquals(String value) {
        this.customerUidNotEquals = value;
    }

    public CouponListCriteria withCustomerUidNotEquals(String value) {
        setCustomerUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerUidNotEquals(String value, String defaultValue) {
        setCustomerUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerNameLike() {
        return customerNameLike;
    }

    public void  setCustomerNameLike(String value) {
        this.customerNameLike = value;
    }

    public CouponListCriteria withCustomerNameLike(String value) {
        setCustomerNameLike(value);
        return this;
    }

    public CouponListCriteria withCustomerNameLike(String value, String defaultValue) {
        setCustomerNameLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerNameEquals() {
        return customerNameEquals;
    }

    public void  setCustomerNameEquals(String value) {
        this.customerNameEquals = value;
    }

    public CouponListCriteria withCustomerNameEquals(String value) {
        setCustomerNameEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerNameEquals(String value, String defaultValue) {
        setCustomerNameEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCustomerNameNotEquals() {
        return customerNameNotEquals;
    }

    public void  setCustomerNameNotEquals(String value) {
        this.customerNameNotEquals = value;
    }

    public CouponListCriteria withCustomerNameNotEquals(String value) {
        setCustomerNameNotEquals(value);
        return this;
    }

    public CouponListCriteria withCustomerNameNotEquals(String value, String defaultValue) {
        setCustomerNameNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getPhoneLike() {
        return phoneLike;
    }

    public void  setPhoneLike(String value) {
        this.phoneLike = value;
    }

    public CouponListCriteria withPhoneLike(String value) {
        setPhoneLike(value);
        return this;
    }

    public CouponListCriteria withPhoneLike(String value, String defaultValue) {
        setPhoneLike(value == null ? defaultValue : value);
        return this;
    }

    public String getPhoneEquals() {
        return phoneEquals;
    }

    public void  setPhoneEquals(String value) {
        this.phoneEquals = value;
    }

    public CouponListCriteria withPhoneEquals(String value) {
        setPhoneEquals(value);
        return this;
    }

    public CouponListCriteria withPhoneEquals(String value, String defaultValue) {
        setPhoneEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getPhoneNotEquals() {
        return phoneNotEquals;
    }

    public void  setPhoneNotEquals(String value) {
        this.phoneNotEquals = value;
    }

    public CouponListCriteria withPhoneNotEquals(String value) {
        setPhoneNotEquals(value);
        return this;
    }

    public CouponListCriteria withPhoneNotEquals(String value, String defaultValue) {
        setPhoneNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUrlLike() {
        return qrCodeUrlLike;
    }

    public void  setQrCodeUrlLike(String value) {
        this.qrCodeUrlLike = value;
    }

    public CouponListCriteria withQrCodeUrlLike(String value) {
        setQrCodeUrlLike(value);
        return this;
    }

    public CouponListCriteria withQrCodeUrlLike(String value, String defaultValue) {
        setQrCodeUrlLike(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUrlEquals() {
        return qrCodeUrlEquals;
    }

    public void  setQrCodeUrlEquals(String value) {
        this.qrCodeUrlEquals = value;
    }

    public CouponListCriteria withQrCodeUrlEquals(String value) {
        setQrCodeUrlEquals(value);
        return this;
    }

    public CouponListCriteria withQrCodeUrlEquals(String value, String defaultValue) {
        setQrCodeUrlEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUrlNotEquals() {
        return qrCodeUrlNotEquals;
    }

    public void  setQrCodeUrlNotEquals(String value) {
        this.qrCodeUrlNotEquals = value;
    }

    public CouponListCriteria withQrCodeUrlNotEquals(String value) {
        setQrCodeUrlNotEquals(value);
        return this;
    }

    public CouponListCriteria withQrCodeUrlNotEquals(String value, String defaultValue) {
        setQrCodeUrlNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUidLike() {
        return qrCodeUidLike;
    }

    public void  setQrCodeUidLike(String value) {
        this.qrCodeUidLike = value;
    }

    public CouponListCriteria withQrCodeUidLike(String value) {
        setQrCodeUidLike(value);
        return this;
    }

    public CouponListCriteria withQrCodeUidLike(String value, String defaultValue) {
        setQrCodeUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUidEquals() {
        return qrCodeUidEquals;
    }

    public void  setQrCodeUidEquals(String value) {
        this.qrCodeUidEquals = value;
    }

    public CouponListCriteria withQrCodeUidEquals(String value) {
        setQrCodeUidEquals(value);
        return this;
    }

    public CouponListCriteria withQrCodeUidEquals(String value, String defaultValue) {
        setQrCodeUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getQrCodeUidNotEquals() {
        return qrCodeUidNotEquals;
    }

    public void  setQrCodeUidNotEquals(String value) {
        this.qrCodeUidNotEquals = value;
    }

    public CouponListCriteria withQrCodeUidNotEquals(String value) {
        setQrCodeUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withQrCodeUidNotEquals(String value, String defaultValue) {
        setQrCodeUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponStateLike() {
        return couponStateLike;
    }

    public void  setCouponStateLike(String value) {
        this.couponStateLike = value;
    }

    public CouponListCriteria withCouponStateLike(String value) {
        setCouponStateLike(value);
        return this;
    }

    public CouponListCriteria withCouponStateLike(String value, String defaultValue) {
        setCouponStateLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponStateEquals() {
        return couponStateEquals;
    }

    public void  setCouponStateEquals(String value) {
        this.couponStateEquals = value;
    }

    public CouponListCriteria withCouponStateEquals(String value) {
        setCouponStateEquals(value);
        return this;
    }

    public CouponListCriteria withCouponStateEquals(String value, String defaultValue) {
        setCouponStateEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCouponStateNotEquals() {
        return couponStateNotEquals;
    }

    public void  setCouponStateNotEquals(String value) {
        this.couponStateNotEquals = value;
    }

    public CouponListCriteria withCouponStateNotEquals(String value) {
        setCouponStateNotEquals(value);
        return this;
    }

    public CouponListCriteria withCouponStateNotEquals(String value, String defaultValue) {
        setCouponStateNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerIdLike() {
        return currentCustomerIdLike;
    }

    public void setCurrentCustomerIdLike(String value) {
        this.currentCustomerIdLike = value;
    }

    public CouponListCriteria withCurrentCustomerIdLike(String value) {
        setCurrentCustomerIdLike(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerIdLike(String value, String defaultValue) {
        setCurrentCustomerIdLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerIdEquals() {
        return currentCustomerIdEquals;
    }

    public void setCurrentCustomerIdEquals(String value) {
        this.currentCustomerIdEquals = value;
    }

    public CouponListCriteria withCurrentCustomerIdEquals(String value) {
        setCurrentCustomerIdEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerIdEquals(String value, String defaultValue) {
        setCurrentCustomerIdEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerIdNotEquals() {
        return currentCustomerIdNotEquals;
    }

    public void setCurrentCustomerIdNotEquals(String value) {
        this.currentCustomerIdNotEquals = value;
    }

    public CouponListCriteria withCurrentCustomerIdNotEquals(String value) {
        setCurrentCustomerIdNotEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerIdNotEquals(String value, String defaultValue) {
        setCurrentCustomerIdNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerUidLike() {
        return currentCustomerUidLike;
    }

    public void setCurrentCustomerUidLike(String value) {
        this.currentCustomerUidLike = value;
    }

    public CouponListCriteria withCurrentCustomerUidLike(String value) {
        setCurrentCustomerUidLike(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerUidLike(String value, String defaultValue) {
        setCurrentCustomerUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerUidEquals() {
        return currentCustomerUidEquals;
    }

    public void setCurrentCustomerUidEquals(String value) {
        this.currentCustomerUidEquals = value;
    }

    public CouponListCriteria withCurrentCustomerUidEquals(String value) {
        setCurrentCustomerUidEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerUidEquals(String value, String defaultValue) {
        setCurrentCustomerUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerUidNotEquals() {
        return currentCustomerUidNotEquals;
    }

    public void setCurrentCustomerUidNotEquals(String value) {
        this.currentCustomerUidNotEquals = value;
    }

    public CouponListCriteria withCurrentCustomerUidNotEquals(String value) {
        setCurrentCustomerUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerUidNotEquals(String value, String defaultValue) {
        setCurrentCustomerUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerNameLike() {
        return currentCustomerNameLike;
    }

    public void setCurrentCustomerNameLike(String value) {
        this.currentCustomerNameLike = value;
    }

    public CouponListCriteria withCurrentCustomerNameLike(String value) {
        setCurrentCustomerNameLike(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerNameLike(String value, String defaultValue) {
        setCurrentCustomerNameLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerNameEquals() {
        return currentCustomerNameEquals;
    }

    public void setCurrentCustomerNameEquals(String value) {
        this.currentCustomerNameEquals = value;
    }

    public CouponListCriteria withCurrentCustomerNameEquals(String value) {
        setCurrentCustomerNameEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerNameEquals(String value, String defaultValue) {
        setCurrentCustomerNameEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentCustomerNameNotEquals() {
        return currentCustomerNameNotEquals;
    }

    public void setCurrentCustomerNameNotEquals(String value) {
        this.currentCustomerNameNotEquals = value;
    }

    public CouponListCriteria withCurrentCustomerNameNotEquals(String value) {
        setCurrentCustomerNameNotEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentCustomerNameNotEquals(String value, String defaultValue) {
        setCurrentCustomerNameNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentPhoneLike() {
        return currentPhoneLike;
    }

    public void setCurrentPhoneLike(String value) {
        this.currentPhoneLike = value;
    }

    public CouponListCriteria withCurrentPhoneLike(String value) {
        setCurrentPhoneLike(value);
        return this;
    }

    public CouponListCriteria withCurrentPhoneLike(String value, String defaultValue) {
        setCurrentPhoneLike(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentPhoneEquals() {
        return currentPhoneEquals;
    }

    public void setCurrentPhoneEquals(String value) {
        this.currentPhoneEquals = value;
    }

    public CouponListCriteria withCurrentPhoneEquals(String value) {
        setCurrentPhoneEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentPhoneEquals(String value, String defaultValue) {
        setCurrentPhoneEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getCurrentPhoneNotEquals() {
        return currentPhoneNotEquals;
    }

    public void setCurrentPhoneNotEquals(String value) {
        this.currentPhoneNotEquals = value;
    }

    public CouponListCriteria withCurrentPhoneNotEquals(String value) {
        setCurrentPhoneNotEquals(value);
        return this;
    }

    public CouponListCriteria withCurrentPhoneNotEquals(String value, String defaultValue) {
        setCurrentPhoneNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerIdLike() {
        return usedCustomerIdLike;
    }

    public void setUsedCustomerIdLike(String value) {
        this.usedCustomerIdLike = value;
    }

    public CouponListCriteria withUsedCustomerIdLike(String value) {
        setUsedCustomerIdLike(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerIdLike(String value, String defaultValue) {
        setUsedCustomerIdLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerIdEquals() {
        return usedCustomerIdEquals;
    }

    public void setUsedCustomerIdEquals(String value) {
        this.usedCustomerIdEquals = value;
    }

    public CouponListCriteria withUsedCustomerIdEquals(String value) {
        setUsedCustomerIdEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerIdEquals(String value, String defaultValue) {
        setUsedCustomerIdEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerIdNotEquals() {
        return usedCustomerIdNotEquals;
    }

    public void setUsedCustomerIdNotEquals(String value) {
        this.usedCustomerIdNotEquals = value;
    }

    public CouponListCriteria withUsedCustomerIdNotEquals(String value) {
        setUsedCustomerIdNotEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerIdNotEquals(String value, String defaultValue) {
        setUsedCustomerIdNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerUidLike() {
        return usedCustomerUidLike;
    }

    public void setUsedCustomerUidLike(String value) {
        this.usedCustomerUidLike = value;
    }

    public CouponListCriteria withUsedCustomerUidLike(String value) {
        setUsedCustomerUidLike(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerUidLike(String value, String defaultValue) {
        setUsedCustomerUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerUidEquals() {
        return usedCustomerUidEquals;
    }

    public void setUsedCustomerUidEquals(String value) {
        this.usedCustomerUidEquals = value;
    }

    public CouponListCriteria withUsedCustomerUidEquals(String value) {
        setUsedCustomerUidEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerUidEquals(String value, String defaultValue) {
        setUsedCustomerUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerUidNotEquals() {
        return usedCustomerUidNotEquals;
    }

    public void setUsedCustomerUidNotEquals(String value) {
        this.usedCustomerUidNotEquals = value;
    }

    public CouponListCriteria withUsedCustomerUidNotEquals(String value) {
        setUsedCustomerUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerUidNotEquals(String value, String defaultValue) {
        setUsedCustomerUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerNameLike() {
        return usedCustomerNameLike;
    }

    public void setUsedCustomerNameLike(String value) {
        this.usedCustomerNameLike = value;
    }

    public CouponListCriteria withUsedCustomerNameLike(String value) {
        setUsedCustomerNameLike(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerNameLike(String value, String defaultValue) {
        setUsedCustomerNameLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerNameEquals() {
        return usedCustomerNameEquals;
    }

    public void setUsedCustomerNameEquals(String value) {
        this.usedCustomerNameEquals = value;
    }

    public CouponListCriteria withUsedCustomerNameEquals(String value) {
        setUsedCustomerNameEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerNameEquals(String value, String defaultValue) {
        setUsedCustomerNameEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedCustomerNameNotEquals() {
        return usedCustomerNameNotEquals;
    }

    public void setUsedCustomerNameNotEquals(String value) {
        this.usedCustomerNameNotEquals = value;
    }

    public CouponListCriteria withUsedCustomerNameNotEquals(String value) {
        setUsedCustomerNameNotEquals(value);
        return this;
    }

    public CouponListCriteria withUsedCustomerNameNotEquals(String value, String defaultValue) {
        setUsedCustomerNameNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedPhoneLike() {
        return usedPhoneLike;
    }

    public void setUsedPhoneLike(String value) {
        this.usedPhoneLike = value;
    }

    public CouponListCriteria withUsedPhoneLike(String value) {
        setUsedPhoneLike(value);
        return this;
    }

    public CouponListCriteria withUsedPhoneLike(String value, String defaultValue) {
        setUsedPhoneLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedPhoneEquals() {
        return usedPhoneEquals;
    }

    public void setUsedPhoneEquals(String value) {
        this.usedPhoneEquals = value;
    }

    public CouponListCriteria withUsedPhoneEquals(String value) {
        setUsedPhoneEquals(value);
        return this;
    }

    public CouponListCriteria withUsedPhoneEquals(String value, String defaultValue) {
        setUsedPhoneEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUsedPhoneNotEquals() {
        return usedPhoneNotEquals;
    }

    public void setUsedPhoneNotEquals(String value) {
        this.usedPhoneNotEquals = value;
    }

    public CouponListCriteria withUsedPhoneNotEquals(String value) {
        setUsedPhoneNotEquals(value);
        return this;
    }

    public CouponListCriteria withUsedPhoneNotEquals(String value, String defaultValue) {
        setUsedPhoneNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getUsedTimeUpper() {
        return usedTimeUpper;
    }

    public void  setUsedTimeUpper(Long value) {
        this.usedTimeUpper = value;
    }

    public CouponListCriteria withUsedTimeUpper(Long value) {
        setUsedTimeUpper(value);
        return this;
    }

    public CouponListCriteria withUsedTimeUpper(Long value, Long defaultValue) {
        setUsedTimeUpper(value == null ? defaultValue : value);
        return this;
    }

    public Long getUsedTimeLower() {
        return usedTimeLower;
    }

    public void  setUsedTimeLower(Long value) {
        this.usedTimeLower = value;
    }

    public CouponListCriteria withUsedTimeLower(Long value) {
        setUsedTimeLower(value);
        return this;
    }

    public CouponListCriteria withUsedTimeLower(Long value, Long defaultValue) {
        setUsedTimeLower(value == null ? defaultValue : value);
        return this;
    }

    public Long getUsedTimeEquals() {
        return usedTimeEquals;
    }

    public void  setUsedTimeEquals(Long value) {
        this.usedTimeEquals = value;
    }

    public CouponListCriteria withUsedTimeEquals(Long value) {
        setUsedTimeEquals(value);
        return this;
    }

    public CouponListCriteria withUsedTimeEquals(Long value, Long defaultValue) {
        setUsedTimeEquals(value == null ? defaultValue : value);
        return this;
    }

    public Long getUsedTimeNotEquals() {
        return usedTimeNotEquals;
    }

    public void  setUsedTimeNotEquals(Long value) {
        this.usedTimeNotEquals = value;
    }

    public CouponListCriteria withUsedTimeNotEquals(Long value) {
        setUsedTimeNotEquals(value);
        return this;
    }

    public CouponListCriteria withUsedTimeNotEquals(Long value, Long defaultValue) {
        setUsedTimeNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserIdLike() {
        return userIdLike;
    }

    public void setUserIdLike(String value) {
        this.userIdLike = value;
    }

    public CouponListCriteria withUserIdLike(String value) {
        setUserIdLike(value);
        return this;
    }

    public CouponListCriteria withUserIdLike(String value, String defaultValue) {
        setUserIdLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUserIdEquals() {
        return userIdEquals;
    }

    public void setUserIdEquals(String value) {
        this.userIdEquals = value;
    }

    public CouponListCriteria withUserIdEquals(String value) {
        setUserIdEquals(value);
        return this;
    }

    public CouponListCriteria withUserIdEquals(String value, String defaultValue) {
        setUserIdEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserIdNotEquals() {
        return userIdNotEquals;
    }

    public void setUserIdNotEquals(String value) {
        this.userIdNotEquals = value;
    }

    public CouponListCriteria withUserIdNotEquals(String value) {
        setUserIdNotEquals(value);
        return this;
    }

    public CouponListCriteria withUserIdNotEquals(String value, String defaultValue) {
        setUserIdNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserUidLike() {
        return userUidLike;
    }

    public void setUserUidLike(String value) {
        this.userUidLike = value;
    }

    public CouponListCriteria withUserUidLike(String value) {
        setUserUidLike(value);
        return this;
    }

    public CouponListCriteria withUserUidLike(String value, String defaultValue) {
        setUserUidLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUserUidEquals() {
        return userUidEquals;
    }

    public void setUserUidEquals(String value) {
        this.userUidEquals = value;
    }

    public CouponListCriteria withUserUidEquals(String value) {
        setUserUidEquals(value);
        return this;
    }

    public CouponListCriteria withUserUidEquals(String value, String defaultValue) {
        setUserUidEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserUidNotEquals() {
        return userUidNotEquals;
    }

    public void setUserUidNotEquals(String value) {
        this.userUidNotEquals = value;
    }

    public CouponListCriteria withUserUidNotEquals(String value) {
        setUserUidNotEquals(value);
        return this;
    }

    public CouponListCriteria withUserUidNotEquals(String value, String defaultValue) {
        setUserUidNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserNameLike() {
        return userNameLike;
    }

    public void setUserNameLike(String value) {
        this.userNameLike = value;
    }

    public CouponListCriteria withUserNameLike(String value) {
        setUserNameLike(value);
        return this;
    }

    public CouponListCriteria withUserNameLike(String value, String defaultValue) {
        setUserNameLike(value == null ? defaultValue : value);
        return this;
    }

    public String getUserNameEquals() {
        return userNameEquals;
    }

    public void setUserNameEquals(String value) {
        this.userNameEquals = value;
    }

    public CouponListCriteria withUserNameEquals(String value) {
        setUserNameEquals(value);
        return this;
    }

    public CouponListCriteria withUserNameEquals(String value, String defaultValue) {
        setUserNameEquals(value == null ? defaultValue : value);
        return this;
    }

    public String getUserNameNotEquals() {
        return userNameNotEquals;
    }

    public void setUserNameNotEquals(String value) {
        this.userNameNotEquals = value;
    }

    public CouponListCriteria withUserNameNotEquals(String value) {
        setUserNameNotEquals(value);
        return this;
    }

    public CouponListCriteria withUserNameNotEquals(String value, String defaultValue) {
        setUserNameNotEquals(value == null ? defaultValue : value);
        return this;
    }

    public Object getValueOf(String name) {
        switch(name) {
        case "recordId": return getRecordId();
        case "couponUidEquals": return getCouponUidEquals();
        case "couponUidNotEquals": return getCouponUidNotEquals();
            case "couponManageUidLike":
                return getCouponManageUidLike();
            case "couponManageUidEquals":
                return getCouponManageUidEquals();
            case "couponManageUidNotEquals":
                return getCouponManageUidNotEquals();
        case "numberLike": return getNumberLike();
        case "numberEquals": return getNumberEquals();
        case "numberNotEquals": return getNumberNotEquals();
        case "endTimeUpper": return getEndTimeUpper();
        case "endTimeLower": return getEndTimeLower();
        case "endTimeEquals": return getEndTimeEquals();
        case "endTimeNotEquals": return getEndTimeNotEquals();
        case "typeLike": return getTypeLike();
        case "typeEquals": return getTypeEquals();
        case "typeNotEquals": return getTypeNotEquals();
        case "modalityLike": return getModalityLike();
        case "modalityEquals": return getModalityEquals();
        case "modalityNotEquals": return getModalityNotEquals();
        case "fullMoneyUpper": return getFullMoneyUpper();
        case "fullMoneyLower": return getFullMoneyLower();
        case "minusMoneyUpper": return getMinusMoneyUpper();
        case "minusMoneyLower": return getMinusMoneyLower();
        case "shopUidLike": return getShopUidLike();
        case "shopUidEquals": return getShopUidEquals();
        case "shopUidNotEquals": return getShopUidNotEquals();
        case "shopNameLike": return getShopNameLike();
        case "shopNameEquals": return getShopNameEquals();
        case "shopNameNotEquals": return getShopNameNotEquals();
        case "remarksLike": return getRemarksLike();
        case "remarksEquals": return getRemarksEquals();
        case "remarksNotEquals": return getRemarksNotEquals();
            case "stateLike":
                return getStateLike();
            case "stateEquals":
                return getStateEquals();
            case "stateNotEquals":
                return getStateNotEquals();
            case "idLike":
                return getIdLike();
            case "idEquals":
                return getIdEquals();
            case "idNotEquals":
                return getIdNotEquals();
            case "createTimeUpper":
                return getCreateTimeUpper();
            case "createTimeLower":
                return getCreateTimeLower();
            case "createTimeEquals":
                return getCreateTimeEquals();
            case "createTimeNotEquals":
                return getCreateTimeNotEquals();
            case "modifyTimeUpper":
                return getModifyTimeUpper();
            case "modifyTimeLower":
                return getModifyTimeLower();
            case "modifyTimeEquals":
                return getModifyTimeEquals();
            case "modifyTimeNotEquals":
                return getModifyTimeNotEquals();
        case "customerIdLike": return getCustomerIdLike();
        case "customerIdEquals": return getCustomerIdEquals();
        case "customerIdNotEquals": return getCustomerIdNotEquals();
        case "customerUidLike": return getCustomerUidLike();
        case "customerUidEquals": return getCustomerUidEquals();
        case "customerUidNotEquals": return getCustomerUidNotEquals();
        case "customerNameLike": return getCustomerNameLike();
        case "customerNameEquals": return getCustomerNameEquals();
        case "customerNameNotEquals": return getCustomerNameNotEquals();
        case "phoneLike": return getPhoneLike();
        case "phoneEquals": return getPhoneEquals();
        case "phoneNotEquals": return getPhoneNotEquals();
        case "qrCodeUrlLike": return getQrCodeUrlLike();
        case "qrCodeUrlEquals": return getQrCodeUrlEquals();
        case "qrCodeUrlNotEquals": return getQrCodeUrlNotEquals();
        case "qrCodeUidLike": return getQrCodeUidLike();
        case "qrCodeUidEquals": return getQrCodeUidEquals();
        case "qrCodeUidNotEquals": return getQrCodeUidNotEquals();
        case "couponStateLike": return getCouponStateLike();
        case "couponStateEquals": return getCouponStateEquals();
        case "couponStateNotEquals": return getCouponStateNotEquals();
            case "currentCustomerIdLike":
                return getCurrentCustomerIdLike();
            case "currentCustomerIdEquals":
                return getCurrentCustomerIdEquals();
            case "currentCustomerIdNotEquals":
                return getCurrentCustomerIdNotEquals();
            case "currentCustomerUidLike":
                return getCurrentCustomerUidLike();
            case "currentCustomerUidEquals":
                return getCurrentCustomerUidEquals();
            case "currentCustomerUidNotEquals":
                return getCurrentCustomerUidNotEquals();
            case "currentCustomerNameLike":
                return getCurrentCustomerNameLike();
            case "currentCustomerNameEquals":
                return getCurrentCustomerNameEquals();
            case "currentCustomerNameNotEquals":
                return getCurrentCustomerNameNotEquals();
            case "currentPhoneLike":
                return getCurrentPhoneLike();
            case "currentPhoneEquals":
                return getCurrentPhoneEquals();
            case "currentPhoneNotEquals":
                return getCurrentPhoneNotEquals();
            case "usedCustomerIdLike":
                return getUsedCustomerIdLike();
            case "usedCustomerIdEquals":
                return getUsedCustomerIdEquals();
            case "usedCustomerIdNotEquals":
                return getUsedCustomerIdNotEquals();
            case "usedCustomerUidLike":
                return getUsedCustomerUidLike();
            case "usedCustomerUidEquals":
                return getUsedCustomerUidEquals();
            case "usedCustomerUidNotEquals":
                return getUsedCustomerUidNotEquals();
            case "usedCustomerNameLike":
                return getUsedCustomerNameLike();
            case "usedCustomerNameEquals":
                return getUsedCustomerNameEquals();
            case "usedCustomerNameNotEquals":
                return getUsedCustomerNameNotEquals();
            case "usedPhoneLike":
                return getUsedPhoneLike();
            case "usedPhoneEquals":
                return getUsedPhoneEquals();
            case "usedPhoneNotEquals":
                return getUsedPhoneNotEquals();
        case "usedTimeUpper": return getUsedTimeUpper();
        case "usedTimeLower": return getUsedTimeLower();
        case "usedTimeEquals": return getUsedTimeEquals();
        case "usedTimeNotEquals": return getUsedTimeNotEquals();
            case "userIdLike":
                return getUserIdLike();
            case "userIdEquals":
                return getUserIdEquals();
            case "userIdNotEquals":
                return getUserIdNotEquals();
            case "userUidLike":
                return getUserUidLike();
            case "userUidEquals":
                return getUserUidEquals();
            case "userUidNotEquals":
                return getUserUidNotEquals();
            case "userNameLike":
                return getUserNameLike();
            case "userNameEquals":
                return getUserNameEquals();
            case "userNameNotEquals":
                return getUserNameNotEquals();
        }
        return null;
    }

    public boolean hasField(String name) {
        return FIELD_NAMES.contains(name);
    }

    @Override
    public int hashCode() {
        return signature().hashCode();
    }

    @Override
    public boolean equals(Object o) {
        if(!(o instanceof CouponListCriteria)) return false;
        return signature().equals(((CouponListCriteria)o).signature());
    }

    public String signature() {
        throw new RuntimeException("Bean CouponListCriteria has no signature defined, no hash code or equals possible.");
    }
}
